package com.spring.shops.model.entity;

import lombok.*;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class TzSku {
    private Long skuId;
    private Long prodId;
    private String properties;
    private BigDecimal oriPrice;
    private BigDecimal price;
    private Integer stocks;
    private Integer actualStocks;
    private Date updateTime;
    private Date recTime;
    private String partyCode;
    private String modelId;
    private String pic;
    private String skuName;
    private String prodName;
    private Integer version;
    private Double weight;
    private Double volume;
    private Byte status;
    private Byte isDelete;

    public TzSku(Long prodId, String properties, BigDecimal oriPrice, BigDecimal price,
                 Integer stocks, Integer actualStocks, Date updateTime, Date recTime,
                 String partyCode, String modelId, String pic, String skuName, String prodName, Integer version, Double weight, Double volume, Byte status, Byte isDelete) {
        this.prodId = prodId;
        this.properties = properties;
        this.oriPrice = oriPrice;
        this.price = price;
        this.stocks = stocks;
        this.actualStocks = actualStocks;
        this.updateTime = updateTime;
        this.recTime = recTime;
        this.partyCode = partyCode;
        this.modelId = modelId;
        this.pic = pic;
        this.skuName = skuName;
        this.prodName = prodName;
        this.version = version;
        this.weight = weight;
        this.volume = volume;
        this.status = status;
        this.isDelete = isDelete;
    }

}